package com.ruoyi.coal.modules.coalpile.domain.vo;

public class resultVo {
    public Integer date;

    public double value;

    public String state;

    public void setDate(Integer date) {
        this.date = date;
    }

    public void setValue(double value) {
        this.value = value;
    }

    public void setState(String state) {
        this.state = state;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.ruoyi.coal.modules.coalpile.domain.vo.resultVo))
            return false;
        com.ruoyi.coal.modules.coalpile.domain.vo.resultVo other = (com.ruoyi.coal.modules.coalpile.domain.vo.resultVo)o;
        if (!other.canEqual(this))
            return false;
        Object this$date = getDate(), other$date = other.getDate();
        if ((this$date == null) ? (other$date != null) : !this$date.equals(other$date))
            return false;
        if (Double.compare(getValue(), other.getValue()) != 0)
            return false;
        Object this$state = getState(), other$state = other.getState();
        return !((this$state == null) ? (other$state != null) : !this$state.equals(other$state));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.ruoyi.coal.modules.coalpile.domain.vo.resultVo;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $date = getDate();
        result = result * 59 + (($date == null) ? 43 : $date.hashCode());
        long $value = Double.doubleToLongBits(getValue());
        result = result * 59 + (int)($value >>> 32L ^ $value);
        Object $state = getState();
        return result * 59 + (($state == null) ? 43 : $state.hashCode());
    }

    public String toString() {
        return "resultVo(date=" + getDate() + ", value=" + getValue() + ", state=" + getState() + ")";
    }

    public resultVo(Integer date, double value, String state) {
        this.date = date;
        this.value = value;
        this.state = state;
    }

    public resultVo() {}

    public Integer getDate() {
        return this.date;
    }

    public double getValue() {
        return this.value;
    }

    public String getState() {
        return this.state;
    }
}